package com.hibernate;

/**
 * Assignpurview entity. @author MyEclipse Persistence Tools
 */

public class Assignpurview implements java.io.Serializable {

	// Fields

	private Integer id;
	private Userrole userrole;
	private Category category;
	private String ownpurview;

	// Constructors

	/** default constructor */
	public Assignpurview() {
	}

	/** full constructor */
	public Assignpurview(Userrole userrole, Category category, String ownpurview) {
		this.userrole = userrole;
		this.category = category;
		this.ownpurview = ownpurview;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Userrole getUserrole() {
		return this.userrole;
	}

	public void setUserrole(Userrole userrole) {
		this.userrole = userrole;
	}

	public Category getCategory() {
		return this.category;
	}

	public void setCategory(Category category) {
		this.category = category;
	}

	public String getOwnpurview() {
		return this.ownpurview;
	}

	public void setOwnpurview(String ownpurview) {
		this.ownpurview = ownpurview;
	}

}